package com.cyh.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

/**
 * @TableName nba_player
 */
@TableName(value = "nba_player")
@Data
public class NbaPlayer implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 排名
     */
    @TableField(value = "ranks")
    private Integer ranks;

    /**
     * 球员名称
     */
    @TableField(value = "player")
    private String player;

    /**
     * 球队
     */
    @TableField(value = "team")
    private String team;

    /**
     * 得分
     */
    @TableField(value = "score")
    private Float score;

    /**
     * 命中出手
     */
    @TableField(value = "hit_shot")
    private String hitShot;

    /**
     * 命中率
     */
    @TableField(value = "hit_rate")
    private String hitRate;

    /**
     * 命中-三分
     */
    @TableField(value = "hit_three")
    private String hitThree;

    /**
     * 三分命中率
     */
    @TableField(value = "three_rate")
    private String threeRate;

    /**
     * 命中-罚球
     */
    @TableField(value = "hit_penalty")
    private String hitPenalty;

    /**
     * 罚球命中率
     */
    @TableField(value = "penalty_rate")
    private String penaltyRate;

    /**
     * 场次
     */
    @TableField(value = "session")
    private Integer session;

    /**
     * 上场时间
     */
    @TableField(value = "playing_time")
    private Float playingTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}